<* include file=$header_file *>
<div class="container" id="cpcontainer">
<script type="text/JavaScript">
	if(parent.$('admincpnav')) parent.$('admincpnav').innerHTML='系统设置&nbsp;&raquo;&nbsp;配置文件';if(parent.$('add2custom')) parent.$('add2custom').innerHTML='';
</script>
<div class="itemtitle">
  <h3>系统设置&nbsp;&raquo;&nbsp;配置文件&nbsp;&nbsp;<input  type="button" value="  刷新当前页 " class="btn" onClick="window.location.reload()"/></h3>
</div>
<form action="/<* $controller *>/opfile" method="post"  name="press_form" onsubmit="this.submitbutton.disabled=true;">

  <table class="tb tb2 ">
<* foreach from=$result item=item key=key *>
	<*if $item.id==$id *>
    <tr>
      <td class="td27" colspan="2">
      <textarea name="configs" cols="120" rows="25"><* $item.configs *></textarea>
      </td>
    </tr>
    <tr>
      <td class="td27">说明：<input name="readme" type="text" class="txt" size="50" value="<* $item.readme *>"/></td><td class="tips2"><* $item.updatetimeDisp*></td>
    </tr>
    <tr>
      <td colspan="2" class="noborder"><input name="submitbutton" type="submit" value=" 保存 " class="btn"/></td>
    </tr>
 	<* else *>    
    <tr>
      <td class="td27"><a href="/<* $controller *>/<* $action *>/id/<*$item.id*>"><* $item.readme *></a></td>  <td class="vtop tips2"><* $item.updatetimeDisp*></td>
    </tr>
	<* /if *>   
<* /foreach *>
  </table>
</form>

<* include file=$bottom_file *>